from base.base import *

class Searchbase(Base):
    def search_bar_for_input(self):
        return '//android.widget.EditText[@resource-id="com.dangdang.buy2:id/et_search"]'

    def search_button(self):
        return '//android.widget.TextView[@resource-id="com.dangdang.buy2:id/tv_search"]'

    def book_title(self):
        return '//android.widget.TextView[@resource-id="com.dangdang.buy2:id/product_title_tv" and @text="三国演义 四大名著五年级下册推荐阅读(中小学生课外阅读指导丛书) 无障碍阅读 彩插励志版 12万读者热评！"]'